package com.dongdongshop.service;

import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbOrderItem;
import com.dongdongshop.vo.Cart;
import com.dongdongshop.vo.OrderVO;

import java.util.List;

public interface OrderService {
    String saveOrder(List<TbOrder> tos, List<TbOrderItem> itemList, String username);

    void updateOrderStatus(String out_trade_no, String trade_no);

    List<OrderVO> findOrderPayList(String username);

    TbOrderItem selectByOrderIdId(long id);

    void updateOrderByStatus(Long orderId);
}
